<html>
<head><title>Embedded Systems Design Group 8 Web Server</title>
  <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  <script type="text/javascript">
    window.onload = startInterval;
	function startInterval()
    {
		setInterval("refreshBlock();",250);
		setInterval("timeBlock();", 1000);
		<!--setInterval("debugBlock();",125);-->
	}
   
	function refreshBlock()
    {
       $('#data').load("data.shtml");
    }
	
	function timeBlock()
	{
		document.getElementById('time').innerHTML = Date();
	}
   
	function debugBlock()
    {
       $('#debug').load("debug.shtml");
    }
	
	
 </script>
</head>
<body>
<div align="center"><b>ECE 4534 Embedded Systems Design</br> Group 8: Je Hyung Lee | Micheal Surratt | Zeid Ayssa | Alex Hammers</b>
	<form name="aForm" action="/main.html" method="get">
		<br><b>Rover Controls:</b> 
		<br><input type="submit" name="start" value="Start"><input type="submit" name="stop" value="Stop"><input type="submit" name="map" value="Mapped Run">
	</form>
<b>Status:</b></br>
</div>
<div id="data"></div></br>
<!--<div id="debug" style="text-align:center"></div></br>-->
<div id="time" style="text-align:center; position:absolute; bottom:0px; left:0px; right:0px; height:30px;"></div>
</body>
</html>